/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  overflow: hidden; /* 防止出现双滚动条 */
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background: #0a0a0a;
}

.app {
  height: 100vh;
  width: 100vw;
  display: flex;
  background: #0a0a0a;
  overflow: hidden;
}

.main-layout {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-left: 80px;
  height: 100vh;
  overflow: hidden;
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .app {
    flex-direction: column;
  }

  .main-layout {
    margin-left: 0;
    height: 100vh;
    padding-top: 60px; /* 为移动端顶部导航栏留出空间 */
  }
  
  .container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .main-layout {
    padding-top: 56px; /* 小屏幕时调整顶部间距 */
  }

  .container {
    padding: 0 10px;
  }
}

